Win32: Disable layered windows for GL
authorChun-wei Fan <fanchunwei@src.gnome.org>
Sat, 5 Mar 2016 03:34:16 +0000 (11:34 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 8 Mar 2016 04:16:37 +0000 (12:16 +0800)
commit3f190e0fa6c2c6e00cc9e0de2627b711539dc1e8
tree1a72948daa3a0208874a6ca513afddd41b1f939f
parent18f81d5da80fde84c0f65ac0d525c7aa4e77a199
Win32: Disable layered windows for GL

Layered windows and GL do not work well together, so disable layered
windows when initiating a GdkGLContext, so that GtkGLArea programs can run
properly.

Also based on patch by LRN to address the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=763080
gdk/win32/gdkglcontext-win32.c
gdk/win32/gdkwindow-win32.c
gdk/win32/gdkwindow-win32.h